import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '@/views/Home/home.vue'
import Test from '@/test.vue'
import Login from '@/views/Login/Login.vue'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'cesiumContainer',
    component: Home
  },
  {
    path: '/test',
    name: 'test',
    component: Test
  },
  {
    path: '/login',
    name: 'login',
    component: Login
  }
]

const router = new VueRouter({
  base: process.env.BASE_URL,
  routes
})

export default router
